package com.xh.lesson.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xh.lesson.entity.SysHouse;
import com.xh.lesson.vo.req.HouseAddReqVo;
import com.xh.lesson.vo.req.HousePageReqVo;
import com.xh.lesson.vo.req.HouseUpdateReqVo;
import com.xh.lesson.vo.resp.PageVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 柴&许
 * @since 2021-07-01
 */
public interface SysHouseService extends IService<SysHouse> {

    SysHouse addHouse(HouseAddReqVo vo);

    void updateHouse(HouseUpdateReqVo vo);

    void deleted(Integer id);

    SysHouse selectById(Integer id);

    PageVO<SysHouse> pageInfo(HousePageReqVo vo);

    List<SysHouse> selectAll();

    SysHouse soloAddHouse(HouseAddReqVo vo);





}
